package com.yanqu.road.entity.log.cross.tongbing.normal;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_tongbing_log_team_move", desc = "普通统兵-队伍移动日志", autoSave = true, uploadCk = true, isCross = true)
public class LogTongBingTeamMove extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "队伍ID")
    private int occupation;
    @FieldTypeAnnotation(desc = "当前城池")
    private int cityId;
    @FieldTypeAnnotation(desc = "路径")
    private List<Integer> routeList;

    @FieldTypeAnnotation(desc = "商会活动分组ID")
    private int groupId;

    public LogTongBingTeamMove(int activityId, long userId, int occupation, int cityId, List<Integer> routeList, int groupId) {
        this.activityId = activityId;
        this.userId = userId;
        this.occupation = occupation;
        this.cityId = cityId;
        this.routeList = routeList;
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

}
